Skip to content

Document the maintenance-hold versioning rule#736

Merged
ptr727 merged 1 commit into
developfrom
document-maintenance-hold
Jun 8, 2026
Merged

Document the maintenance-hold versioning rule#736
ptr727 merged 1 commit into
developfrom
document-maintenance-hold

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Complements this repo's existing develop-leads bump rule with the maintenance-hold case (now documented in ptr727/ProjectTemplate): a develop -> main promotion carrying only maintenance (dependency bumps, CI/doc fixes, template re-syncs) holds main's version with git checkout main -- version.json, so main advances only a patch and develop keeps its lead - exactly what #734 did. Only a release promotion carries develop's bumped version.

Complement the existing develop-leads bump rule: a maintenance develop -> main
promotion (dependency bumps, CI/doc fixes, template re-syncs) holds main's
version via git checkout main -- version.json, so main advances only a patch and
develop keeps its lead. Only a release promotion carries develop's bumped
version. Aligns with ptr727/ProjectTemplate.
Copilot AI review requested due to automatic review settings June 8, 2026 18:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the “maintenance-hold” versioning workflow for develop → main promotions, clarifying when version.json should not be promoted from develop to main so that maintenance catch-up merges don’t inadvertently advance main’s minor version.

Changes:

  • Add a documented rule for maintenance-only develop → main promotions to hold main’s version.json via git checkout main -- version.json.
  • Mirror the same rule into the repo’s Copilot instructions quick rules for consistency with the runbook.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
AGENTS.md Adds the maintenance-hold versioning rule to the develop→main promotion guidance.
.github/copilot-instructions.md Adds the same maintenance-hold rule to the quick rules list for contributors/agents.

Comment thread AGENTS.md
Comment thread .github/copilot-instructions.md
@ptr727 ptr727 merged commit 325c66f into develop Jun 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants